package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;

import java.util.List;

public interface ContentService {
    List<TbContent> listContents();

    void addContent(TbContent tbContent);

    TbContent toUpdate(Long id);

    void updateContent(TbContent tbContent);

    void delContent(List<Long> ids);

    List<TbContent> listContentsByCateId(Long cateId);
}
